package gao.xiaolei.dao;

import gao.xiaolei.entity.BugAttached;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("BugAttachedDao")
public interface BugAttachedDao extends JpaRepository<BugAttached,String> {

    public List<BugAttached> findAllByToBug(String toBug);
}
